package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_great_trade_industry", autoSave = true,uploadCk = true,desc = "大商途-产业买卖日志")
public class LogGreatTradeIndustry extends ServerBaseLog{

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "产业id")
    private int industryId;
    @FieldTypeAnnotation(desc = "买入1、卖出0")
    private int get;
    @FieldTypeAnnotation(desc = "股份变更")
    private int num;
    @FieldTypeAnnotation(desc = "现银变更")
    private String sliver;
    @FieldTypeAnnotation(desc = "开局场次")
    private int times;


    public LogGreatTradeIndustry(long userId, int activityId, int industryId, int get, int num, String sliver, int times) {
        this.userId = userId;
        this.activityId = activityId;
        this.industryId = industryId;
        this.get = get;
        this.num = num;
        this.sliver = sliver;
        this.times = times;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getIndustryId() {
        return industryId;
    }

    public void setIndustryId(int industryId) {
        this.industryId = industryId;
    }

    public int getGet() {
        return get;
    }

    public void setGet(int get) {
        this.get = get;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getSliver() {
        return sliver;
    }

    public void setSliver(String sliver) {
        this.sliver = sliver;
    }

    public int getTimes() {
        return times;
    }

    public void setTimes(int times) {
        this.times = times;
    }

}
